package com.yonyou.cyxdms.sysAuth.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author <a href="https://www.fengwenyi.com?code">Erwin Feng</a>
 * @since 2022-06-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("tm_equity_structure")
@ApiModel(value = "TmEquityStructureEntity对象", description = "")
public class EquityPo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("股权结构主键id")
    @TableId(value = "EQUITY_ID", type = IdType.AUTO)
    private Long equityId;

    @ApiModelProperty("股东姓名")
    @TableField("SHAREHOLDER_NAME")
    private String shareholderName;

    @ApiModelProperty("投入资金")
    @TableField("INPUT_AMOUNT")
    private BigDecimal inputAmount;

    @ApiModelProperty("控股比例")
    @TableField("EQUITY_RATIO")
    private BigDecimal equityRatio;

    @ApiModelProperty("公司id")
    @TableField("COMPANY_ID")
    private Integer companyId;

    @ApiModelProperty("公司代码")
    @TableField("COMPANY_CODE")
    private String companyCode;

    @ApiModelProperty("创建人")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty("创建时间")
    @TableField("CREATED_AT")
    private LocalDateTime createdAt;

    @ApiModelProperty("修改人")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty("修改时间")
    @TableField("UPDATED_AT")
    private LocalDateTime updatedAt;

    @ApiModelProperty("是否删除")
    @TableField("IS_DELETED")
    private Integer isDeleted;


}
